<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
    <style>
      a.essayA {
          color: #636b6f;
          text-decoration: none;
      }

      a.essayA:hover {
          text-decoration: none;
      }

      .el-upload__input{
        display: none !important;
      }

      #up{
        height: 40px;
        width: 40px;
        background-color: #f2f5f6;
        box-shadow: 0 0 6px rgba(0,0,0, .12);
        text-align: center;
        line-height: 40px;
        color: #1989fa;
        position: fixed;
        right: 80px;
        bottom: 30px;
        z-index: 9999;
        display: none;
      }
    </style>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>

    <div id="up">
      <i class="el-icon-caret-top"></i>
    </div>
    <div id="app"></div>
    <script>
      $(window).scroll(function(){
        if($(window).scrollTop()>300){
          $("#up").fadeIn(1000);
        }else{
          $("#up").fadeOut(1000);
        }
      });
      $("#up").click(function(){
        $("html,body").animate({scrollTop:0},1000);
      });
    </script>
  </body>
</html>
